﻿@model IEnumerable<Project.Domain.Entities.SoccerTeam>
@foreach (var item in Model)
{
    if (item.SoccerTeamId == ViewBag.home)
    {
        <option value="@item.SoccerTeamId" selected="selected">@item.TeamName</option>
    }
    else
    {
        <option value="@item.SoccerTeamId">@item.TeamName</option>
    }
}